<?php
require_once("database.php");

class xl_status extends database {	
	function get_status($uid) {
		$sql = "SELECT * FROM  `status` WHERE  `uid` = '$uid' ORDER BY time DESC LIMIT 0 , 30";
		$this->setQuery($sql);
		$kq = $this->loadAllRow();
		return $kq;
	}
 }
?>